package com.anzhen.domain.dao;

import com.anzhen.domain.entity.TodoRecord;
import com.anzhen.domain.entity.TodoRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TodoRecordMapper {
    long countByExample(TodoRecordExample example);

    int deleteByExample(TodoRecordExample example);

    int deleteByPrimaryKey(Integer tdId);

    int insert(TodoRecord record);

    int insertSelective(TodoRecord record);

    List<TodoRecord> selectByExample(TodoRecordExample example);

    TodoRecord selectByPrimaryKey(Integer tdId);

    int updateByExampleSelective(@Param("record") TodoRecord record, @Param("example") TodoRecordExample example);

    int updateByExample(@Param("record") TodoRecord record, @Param("example") TodoRecordExample example);

    int updateByPrimaryKeySelective(TodoRecord record);

    int updateByPrimaryKey(TodoRecord record);
}